﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    public class BuyCartInfo
    {
        public string account { get; set; }
        public List<string> PidList { get; set; }
        public List<int> Bnum { get; set; }
        //默认构造函数
        public BuyCartInfo() { }
        //所有参数(Pid与Bnum一一对应)
        public BuyCartInfo(string account, List<string> PidList, List<int> Bnum)
        {
            this.account = account;
            this.PidList = PidList;
            this.Bnum = Bnum;
        }
        //创建账号时就新增购物车的表
        public BuyCartInfo(string account)
        {
            this.account = account;
        }
    }
}
